#ifndef __LL_UART_H
#define __LL_UART_H

#include "main.h"

#define UART1_SPACE		3
#define UART2_SPACE		3

#define UART_RX_LEN		64
typedef struct
{
	unsigned char rx[UART_RX_LEN];
	unsigned char cnt;
	unsigned long ms;
}UartStrTypedef;
extern UartStrTypedef U1Reg,U2Reg,U3Reg,U4Reg;

void Uart1Receive( void );
void Uart1DataProcess( void );
void Uart1SendNByte( unsigned char *buf, unsigned char len );
void Uart2Receive( void );
void Uart2DataProcess( void );
void Uart2SendNByte( unsigned char *buf, unsigned char len );
void Uart3Receive( void );
void Uart3DataProcess( void );
void Uart3SendNByte( unsigned char *buf, unsigned char len );
#endif
